home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tools / jade / src / regexp / readme.jsh < prev    next >
Text File  |  1995-03-09  |  817b  |  18 lines

  1.  
  2. This is a version of the "nearly-public-domain" regexp(3) regular expression
  3. matching library by Henry Spencer, I have modified it slightly to meet my
  4. needs, this is what I've done,
  5.  
  6.     1) if "__STDC__" is defined ANSI function prototypes are used, this is
  7.        so a register based call-interface is possible.
  8.     2) added a new function regsublen(), this performs a dry run of the
  9.        regsub() function returning the length of the string needed to hold
  10.        the output from regsub().
  11.     3) changed regexec(prog,str) to regexec2(prog,str,eflags) with macro for
  12.        regexec(). This is so I can have the flag REG_NOTBOL which signifies
  13.        that the string passed to regexec[2]() is not actually the start of a
  14.        line.
  15.     4) support for case-insignificant matching (with the flag REG_NOCASE)
  16.  
  17. John
  18.